package com.wego.upms.mapper;

import com.wego.upms.model.UpmsPermission;
import com.wego.upms.model.UpmsPermissionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UpmsPermissionMapper {
    long countByExample ( UpmsPermissionExample example );

    int deleteByExample ( UpmsPermissionExample example );

    int deleteByPrimaryKey ( Integer permissionId );

    int insert ( UpmsPermission record );

    int insertSelective ( UpmsPermission record );

    List<UpmsPermission> selectByExample ( UpmsPermissionExample example );

    UpmsPermission selectByPrimaryKey ( Integer permissionId );

    int updateByExampleSelective ( @Param("record") UpmsPermission record, @Param("example") UpmsPermissionExample example );

    int updateByExample ( @Param("record") UpmsPermission record, @Param("example") UpmsPermissionExample example );

    int updateByPrimaryKeySelective ( UpmsPermission record );

    int updateByPrimaryKey ( UpmsPermission record );
}